package com.ihisomp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * 标题: OmpUserRole.java
 * 业务描述: 运营管理用户与角色关联
 * 作者: zy
 * 日期: 2021/9/13
 * 版本: V1.0
 */
@TableName("t_omp_user_role")
public class OmpUserRole implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "user_role_key", type = IdType.INPUT)
    private String userRoleKey;

    /**
     * 角色主键
     */
    private String roleKey;

    /**
     * 用户主键
     */
    private String userKey;

    public String getUserRoleKey() {
        return userRoleKey;
    }

    public void setUserRoleKey(String userRoleKey) {
        this.userRoleKey = userRoleKey;
    }

    public String getRoleKey() {
        return roleKey;
    }

    public void setRoleKey(String roleKey) {
        this.roleKey = roleKey;
    }

    public String getUserKey() {
        return userKey;
    }

    public void setUserKey(String userKey) {
        this.userKey = userKey;
    }

    @Override
    public String toString() {
        return "OmpUserRole{" +
                "userRoleKey='" + userRoleKey + '\'' +
                ", roleKey='" + roleKey + '\'' +
                ", userKey='" + userKey + '\'' +
                '}';
    }
}
